package modelimplementation

import "salary/model"

/*
 * 按固定薪资支付
 */

type SalariedClassification struct {
	salary float64
}

func NewSalariedClassification(salary float64) *SalariedClassification {
	return &SalariedClassification{salary: salary}
}

func (sc *SalariedClassification) GetSalary() float64 {
	return sc.salary
}

func (sc *SalariedClassification) CalculatePay(pc model.PayCheck) float64 {
	return sc.salary
}

